Set Tabulation Tuple Tabulation ?
نویسنده
چکیده
This paper investigates a tuple-oriented approach to tabulation. In this approach solutions to a call are stored and computed one at a time, which results in tables contain incomplete sets of solutions. Since the answers stored in the tables are partial sets of solutions to a call, a subgoal that is an instance of a stored call can require an answer that is not among the stored solutions. Consequently recomputation can arise. This recomputation problem is overcome by introducing a program transformation. Evaluation in the transformed program is free of recomputation because it is diverted from previously visited search space, corresponding to previously computed and stored solutions in the tables. In this paper we also show that negation and tabulation can be eeciently implemented under this approach. The advantages and the problems that emerge with this proposal are discussed.
منابع مشابه
Speaking Stata: Problems with tables, Part I
Tables in some form or another are part and parcel of data management and analysis. The main general-purpose tabulation commands, tabulate, table, and tabstat, are reviewed and compared. When these do not provide a tabulation solution, one key strategy is to prepare the material for tabulation as a set of variables, after which the table itself can be presented with tabdisp or list. This is the...
متن کاملApproximately Minwise Independence with Twisted Tabulation
A random hash function h is ε-minwise if for any set S, |S| “ n, and element x P S, Prrhpxq “ minhpSqs “ p1 ̆ εq{n. Minwise hash functions with low bias ε have widespread applications within similarity estimation. Hashing from a universe rus, the twisted tabulation hashing of Pǎtraşcu and Thorup [SODA’13] makes c “ Op1q lookups in tables of size u1{c. Twisted tabulation was invented to get good ...
متن کاملCross-tabulation with Chi-square Analysis
Cross-tabulation is one of the most useful analytical tools and is a main-stay of the market research industry. One estimate is that single variable frequency analysis and cross-tabulation analysis account for more than 90% of all research analyses. Cross-tabulation analysis, also known as contingency table analysis, is most often used to analyze categorical (nominal measurement scale) data. A ...
متن کاملAdaptation of the in situ adaptive tabulation (ISAT) procedure for efficient computation of surface reactions
In this article, the in situ adaptive tabulation (ISAT) procedure, originally developed [Pope, S. (1997). Computationally efficient implementation of combustion chemistry using in situ adaptive tabulation. Combustion Theory and Modeling, 1, 41–63] for the efficient computation of homogeneous reactions in chemically reacting flows, is adapted for the efficient computation of heterogeneous surfac...
متن کاملA Tabulation Proof Procedure for Residuated Logic Programming
Residuated Logic Programs allow to capture a spate of different semantics dealing with uncertainty and vagueness. In this work we provide a tabulation goal-oriented query procedure, and show that our tabulation query procedure terminates if and only if the sequence of iterations of the immediate consequences operator reaches the least fixpoint after only finitely-many steps. On the basis of thi...
متن کامل